cordova.define("memego-plugin-gamecontrol.GameControlPlugin", function(require, exports, module) {
cordova.define("memego-plugin-gamecontrol.GameControlPlugin", function(require, exports, module) {
    var exec = require('cordova/exec');
    
    exports.init = function(success, error) {
        exec(success, error, "GameControlPlugin", "init", []);
    };
    exports.play = function(address,deviceNo,price, auth,success, error) {
        exec(success, error, "GameControlPlugin", "play", [address,deviceNo,price,auth]);
    };
    
    exports.demo = function(address,success, error) {
        exec(success, error, "GameControlPlugin", "demo", [address]);
    };
    
    //exports.auth = function(auth,success, error) {
    //    exec(success, error, "GameControlPlugin", "auth", [auth]);
    //};
    
    });
    
});
